package com.rz.paas.test

import android.content.Intent
import androidx.appcompat.app.AppCompatActivity
import android.os.Bundle
import androidx.lifecycle.lifecycleScope
import com.rz.paas.test.base.MiddleActivity
import kotlinx.coroutines.delay
import kotlinx.coroutines.launch

class StartupActivity : MiddleActivity() {
    override fun onCreate(savedInstanceState: Bundle?) {
        super.onCreate(savedInstanceState)
        setContentView(R.layout.activity_startup)
        lifecycleScope.launch {
            delay(500)
            startActivity(Intent(baseContext,LoginActivity::class.java))
            finish()
        }

    }
}